<?php
namespace app\mxty\controller;

use app\api\controller\Controller as ApiController;
use app\mxty\logic\Referee as RefereeLogic;
use think\facade\Request;

class Referee extends ApiController
{
    public function all()
    {
      $list = (new RefereeLogic)->getAllReferee();
      return $this->renderSuccess($list);
    }
}
